﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Collection.Entities;

namespace Collection.Interfaces
{
    public interface IServiceBase<T> where T : class
    {
        /// <summary>
        ///数据库插入事件
        /// </summary>
        event Action<T> InsertToDatabase;

        /// <summary>
        /// 数据库更新事件
        /// </summary>
        event Action<T> UpdateToDataBase;
    }
}
